//$ output stdout
//$ dim.global 1024 0 0
//$ dim.local  0 0 0

__kernel void clmain( __global float* result, const unsigned int count) {
	int i=get_global_id(0);
	float v=0.0;
	for(int a=0;a<10000;a++)
		if(i<count) v+=(float)(10*i)/(float)(1+i*100);
	result[i]=v;
}
